php forum
php mysql forum
php mysql smarty
 
Topic Options
#314605 - 06/25/07 09:08 PM [7.1.1] - Allow alphabetic forum sort order
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
Simple mod to allow an admin to have a forum not adhere to the default sorting order for all forums.

The added choices are sorting alphabetically A-Z and Z-A.

Uses are for a forum that is classified ads and they users want to use the subject as a quick way to find what they are looking for.

Database ubbt_FORUMS gets an added field to store this override.

Screenie:




Attachments
2431-ReadMe.txt (56 downloads)
Description: Um.... read it ;)


_________________________

Top
#314606 - 06/25/07 10:18 PM Re: [7.1.1 - 7.2] - Allow alphabetic forum sort order [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Looks good! You have a typo in your comments though, gotta love this ubtt_FORUMS wink hehe...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314608 - 06/26/07 10:34 AM Re: [7.1.1 - 7.2] - Allow alphabetic forum sort order [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314663 - 07/10/07 04:44 AM Re: [7.1.1 - 7.2] - Allow alphabetic forum sort or [Re: Ian_W]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Neat, i like the options.

Sirdude do you think you could do similar but with say
Date slip ?

Where it lists topics by the day they were created
and not by the last post.

Ive just noticed Display Options at the bottom of a forum you can search by "Thread Start Time"

That would be a great addition to this thread smile

Top
#314666 - 07/10/07 03:55 PM Re: [7.1.1 - 7.2] - Allow alphabetic forum sort or [Re: Mark_S]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
sure can do. i'll update the readme.txt and .zip to handle it.

ty for the input

_________________________

Top
#314772 - 07/18/07 09:50 AM Re: [7.1.1 - 7.2] - Allow alphabetic forum sort or [Re: sirdude]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Nice smile

I'd like to be able to sort topics by topic-starter too, tho I think that's mostly covered with the ability to see topics started by a member now smile
_________________________
- Allen wavey
- What Drives You?

Top
#314777 - 07/18/07 11:17 AM Re: [7.1.1 - 7.2] - Allow alphabetic forum sort or [Re: AllenAyres]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
agreed. well since the patient is on the operating table, the pull-down can have all the sorting options. it's a tinyint in the db, but that more than handles it.

will slam em all in.. and repost with a 7.2 compatible solution.
_________________________

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks